<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <div id="app">
      <span>单个职业</span>
      <select name="" id="" v-model='select1'>
          <option value="1">doc</option>
          <option value="2">nur</option>
          <option value="3">tea</option>
      </select>

      <select name="" id="" v-model='select2' multiple>
        <option value="1">doc</option>
        <option value="2">nur</option>
        <option value="3">tea</option>
      </select>

      <textarea name="" id="" cols="30" rows="10" v-model='text'></textarea>
  </div>
  <script src="./vue.js"></script>
  <script>
    var vm = new Vue({
      el:'#app',
      data:{
          select1:'1',
          select2:[],
          text:'你好'
      },
      methods:{
      }
     });

     setInterval(()=>{
         let num1 = Math.floor(Math.random()*3) +1
         vm.select1 = num1
     },500)
  </script>
</body>
</html>
